package com.xyoto.community.mapper.main;

import com.xyoto.community.entity.main.UserTitle;

/**
 * 用户头衔Mapper
 */
public interface UserTitleMapper {

    /**
     * 新增头衔
     * @param userTitle
     * @return
     */
    Integer saveTitle(UserTitle userTitle);

    /**
     * 删除头衔
     * @param id
     * @return
     */
    Integer removeTitleById(Integer id);

    /**
     * 获取用户头衔
     * @param userTitleId
     * @return
     */
    String getTitle(Integer userTitleId);


}
